package org.dromara.tearoom.domain.bo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;

/**
 * 团购核销业务对象 ter_group_buy
 *
 * @author ckj
 * @date 2025-05-08
 */
@Data
public class TerGroupBuyAppBo {

  /**
   * 劵码
   */
   private Long id;

    /**
     * 扫描二维码
     */
   private String shortUrl;

    /**
     * 劵码
     */
    private String code;

    /**
     * 加密券码
     */
    private String encryptedCode;


    /**
     * 门店ID
     */
    private String poiId;

    /**
     * 平台类型
     */
    @NotNull(message = "平台类型不能为空", groups = { AddGroup.class })
    private Integer plateType;



}
